import {defineStore} from 'pinia';
import Cookies from "js-cookie";

const useSetting = defineStore('setting', {
    state: (): ISettingState => ({
        width: 200,
        isCollapse: Cookies.get("isCollapse") == 'true'
    }),
    getters: {},
    actions: {}
})

export default useSetting;
